Other Classes
The following classes are available globally.
-
NavigationLocationManager
is the base location manager which handles permissions and background modes.Declaration
Swift
open class NavigationLocationManager: CLLocationManager
-
A
NavigationRouteOptions
object specifies turn-by-turn-optimized criteria for results returned by the Mapbox Directions API.
See moreNavigationRouteOptions
is a subclass ofRouteOptions
that has been optimized for navigation. Pass an instance of this class into theDirections.calculate(_:completionHandler:)
method.Declaration
Swift
open class NavigationRouteOptions: RouteOptions
-
NavigationSettings
provides a wrapper for UserDefaults.Properties are prefixed and before they are stored in UserDefaults.standard.
See moreDeclaration
Swift
public class NavigationSettings: NSObject
-
See morePollyVoiceController
extends the defaultRouteVoiceController
by providing support for AWSPolly.RouteVoiceController
will be used as a fallback during poor network conditions.Declaration
Swift
public class PollyVoiceController: RouteVoiceController
-
See moreReplayLocationManager
replays an array of locations exactly as they were recorded with the single exception of the location’s timestamp which will be adjusted by interval between locations.Declaration
Swift
public class ReplayLocationManager: NavigationLocationManager
-
The
SimulatedLocationManager
class simulates location updates along a given route.The route will be replaced upon a
See moreRouteControllerDidReroute
notification.Declaration
Swift
public class SimulatedLocationManager: NavigationLocationManager
-
:nodoc
Declaration
Swift
open class PrimaryLabel: InstructionLabel
-
:nodoc
Declaration
Swift
open class SecondaryLabel: InstructionLabel
-
A view representing the user’s location on screen.
Declaration
Swift
public class UserPuckCourseView: UIView